Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lexus is adjustment #192

Merged
merged 5 commits into from
Oct 11, 2019
Merged

Lexus is adjustment #192

merged 5 commits into from
Oct 11, 2019

Conversation

eFiniLan
Copy link
Contributor

× Add 581 for ISH gas pedal signal
image

× Add STEER_ANGLE in 608 STEER_TORQUE_SENSOR (similar to TSS2)
image

× Change STEER_TORQUE_EPS factor in 608 STEER_TORQUE_SENSOR to 1.0

@adeebshihadeh
Copy link
Contributor

Just checked one of my routes, and it definitely seems like the factor needs to be increased. 0.77 seems to fit better though.

@rbiasini
Copy link
Contributor

Ok, happy to merge 0.77. just remember to change it in interface.py as well if you drive with it. And flash panda :)

@eFiniLan
Copy link
Contributor Author

@rbiasini awesome! updated! are you ok with the other 2 changes? :)
@quillford suggest you to try STEER_ANGLE in 608 STEER_TORQUE_SENSOR too, I found it turn way smoother in 0.6.4/0.6.5.

@adeebshihadeh
Copy link
Contributor

Cabana graphs weren't working for me so I threw together this script. should help with other ports.

SG_ STEER_TORQUE_DRIVER : 15|16@0- (1,0) [-32768|32767] "" XXX
SG_ STEER_OVERRIDE : 0|1@0+ (1,0) [0|1] "" XXX
SG_ CHECKSUM : 63|8@0+ (1,0) [0|255] "" XXX
SG_ STEER_ANGLE : 31|16@0- (0.056,0) [-500|500] "" XXX
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.573 is more correct (rad/100). I'll fix it in a separate commit

@rbiasini rbiasini merged commit 7311ee7 into commaai:master Oct 11, 2019
jyoung8607 pushed a commit to jyoung8607/opendbc that referenced this pull request Oct 17, 2019
* Add 581 for ISH gas pedal signal

* Add STEER_ANGLE in 608 STEER_TORQUE_SENSOR (similar to TSS2)

* Change STEER_TORQUE_EPS factor in 608 STEER_TORQUE_SENSOR to 1.0

* Re-generate lexus_is_2018

* reduce factor to 0.77
rbiasini pushed a commit that referenced this pull request Oct 17, 2019
* Update ACC_02.SetSpeed to use a more accurate m/s formula instead of kmh

* Fixes to LWI vs EPS calculations for steering angles, clarify descriptions of each.

* Endianness fixes

* Add ESP_15 and PSD_04/05/06

* Testing PSD interpretation

* Correct message info for ESP_08

* Additional authoritative message names and IDs

* OpenDBC updates

* OpenDBC updates

* DBC cleanup, CRC support, restore VIN_01 mux lost during Cabana editing.

* Add the PQ heading control assist message.

* OpenDBC updates

* Add a pointer to the VIN_1 mux.

* Probable EPS_1 message

* Add comment about rate-limiting on Getriebe_11 counter signal.

* Rename CRC->CHECKSUM for upstream of a minimum viable VW port.

Per my Discord talk with @rbiasini, to reduce OP core code diffs a bit, we will temporarily (ab)use CHECKSUM to store a CRC like Pedal is doing today. After the port is upstreamed, we will look at updating the core OP code to support dynamic CRC and counter signal names, and revert the DBC signal names back to canonical (MSG_NAME_CRC, MSG_NAME_BZ, etc). I will update the OP core CRC support PR shortly.

* OpenDBC updates

* OpenDBC updates

* Probable EPS_1 message

* Updates for Volkswagen support (#191)

* Update ACC_02.SetSpeed to use a more accurate m/s formula instead of kmh

* Fixes to LWI vs EPS calculations for steering angles, clarify descriptions of each.

* Endianness fixes

* Add ESP_15 and PSD_04/05/06

* Testing PSD interpretation

* Correct message info for ESP_08

* Additional authoritative message names and IDs

* OpenDBC updates

* OpenDBC updates

* DBC cleanup, CRC support, restore VIN_01 mux lost during Cabana editing.

* Add the PQ heading control assist message.

* Add a pointer to the VIN_1 mux.

* Add comment about rate-limiting on Getriebe_11 counter signal.

* Rename CRC->CHECKSUM for upstream of a minimum viable VW port.

Per my Discord talk with @rbiasini, to reduce OP core code diffs a bit, we will temporarily (ab)use CHECKSUM to store a CRC like Pedal is doing today. After the port is upstreamed, we will look at updating the core OP code to support dynamic CRC and counter signal names, and revert the DBC signal names back to canonical (MSG_NAME_CRC, MSG_NAME_BZ, etc). I will update the OP core CRC support PR shortly.

* Lexus is adjustment (#192)

* Add 581 for ISH gas pedal signal

* Add STEER_ANGLE in 608 STEER_TORQUE_SENSOR (similar to TSS2)

* Change STEER_TORQUE_EPS factor in 608 STEER_TORQUE_SENSOR to 1.0

* Re-generate lexus_is_2018

* reduce factor to 0.77

* Fix steer angle factor for toyota

* OpenDBC updates

* Create luxgen_s5_2014.dbc (#101)

* Create luxgen_s5_2015.dbc

* Update luxgen_s5_2015.dbc

* Update luxgen_s5_2015.dbc

* fixed to luxgen dbc file

* EV_Gearshift message

* EV_Gearshift message for e-Golf support without a separate gearbox.

* Corrected byte order on two signals.

* Corrected byte order on several homebrewed VW MQB signals.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants